<div class="view">

<div class="row">
    
    <div class="span3">
        <?php echo CHtml::link(CHtml::image($data->getFileUrl(), $data->nev),'#modal'.$data->id, array('data-toggle'=>'modal')); ?>
        
        <?php $this->beginWidget('bootstrap.widgets.BootModal', array(
            'id'=>'modal'.$data->id,
            'htmlOptions'=>array('class'=>'hide'),            
        )); ?>
        
        <div class="modal-header">
            <a class="close" data-dismiss="modal">&times;</a>           
        </div>
        <div class="modal-body">
            <?php echo CHtml::image($data->getFileUrl('large')); ?>
        </div>        
        <?php $this->endWidget(); ?>
    </div>
    
    <div class="span8">
    	<h3><?php echo CHtml::link(CHtml::encode($data->nev),array('view','id'=>$data->id)); ?></h3>
        
        <p class="well">
    	<?php echo CHtml::encode($data->leiras); ?>
    	</p>
    
    	<b><?php echo CHtml::encode($data->getAttributeLabel('datum')); ?>:</b>
    	<?php echo CHtml::encode($data->datum); ?>
    </div> 

    
</div>

<div row="row">
    <a href="<?php echo $this->createUrl('program/update',array('id'=>$data->id));?>" class="btn btn-primary">Szerkeszt</a>
</div>

</div>